Waverider Systems
http://www.WaveriderSystems.com
Perlshop 4 Address Verification Display Plugin
Version 1.01
This plugin requires Perlshop 4.2.07 or later.
--------------------------------------------------------------------------------------
Installation Procedure:
1. Place the PS_AddVer.pm file into the same web server directory as your perlshop.cgi file.
2. Give the PS_AddVer.pm file the same file permissions as your perlshop.cgi file.
3. Add the Address Verification Display plugin to the plugin registration table in your ps.cfg file.
Example plugin registration table before adding the Address Verification Display plugin:
# Plugin modules. See the external documentation for details.
%plugins =
(
# Calendar example plugin
'calendar' =>
{
'program' => 'ps_plugin_gencal.pl'
}
);
Example plugin registration table after adding the Address Verification Display plugin:
# Plugin modules. See the external documentation for details.
%plugins =
(
# Address Verification Display plugin
'addver' =>
{
'module' => 'PS_AddVer.pm',
'event' => 'before_checkout_cart_contents',
'display' => 'yes'
},
# Calendar example plugin
'calendar' =>
{
'program' => 'ps_plugin_gencal.pl'
}
);
--------------------------------------------------------------------------------------
Using the Address Verification Display plugin:
Once installed, this program will be automatically used by Perlshop. No catalog page modifications are required.
--------------------------------------------------------------------------------------
Controlling the appearance of the Address Verification Display information:
This plugin uses the following style classes to control the appearance of the data displayed:
'addverInstructions' - This is applied to all instruction text.
'addverFieldHeader' - This is applied to all field names (i.e. Address, City, etc.).
'addverField' - This is applied to all field values.
'addverTableHeader' - This is applied to the Billing Address and Shipping Address table headers.
The following recommended values for these style class definitions are:
.addverInstructions {color:darkblue; font-weight:bold}
.addverFieldHeader {color:black; font-weight:bold}
.addverField {color:black}
.addverTableHeader {color:black; background-color:lightgrey}
You may copy and paste these values directly into your global cascading style sheet file.